package Game;

import java.awt.*;

/**
 * @Description:
 * @author: xuaner
 * @date: 2021年09月11日 16:03
 */

public class DoublePoints extends Buff{
    public DoublePoints(){}

    public DoublePoints(int buffx, int buffy) {
        super(buffx, buffy);
    }

    public void AddBuff(Graphics g) {//画出加速块
        if(BuffFlag){
            Color c = g.getColor();
            g.setColor(Color.GREEN);
            g.fillRect(x, y, w, h);
            g.setColor(c);
        }
    }
}
